﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace UpperComputer.Application
{
    public class PermissionInputDto
    {
        [Required, RegularExpression(@"^[a-zA-Z']{1,50}$")]
        public string RoleCode { get; set; }

        public List<BaseMenuResultDto> Menus { get; set; }
    }
}
